package com.linshidream.intrachat.simplenio.pipeline.hearbeat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created on 2025/8/21 18:30
 *
 * @author linshidream
 * @version 1.0.0
 * @description
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ScheduledTask {
    /**
     * 过期时间
     */
    private long deadline;

    /**
     * 任务
     */
    private Runnable task;
}
